package com.fuze.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fuze.domain.model.Administrators;

/**
 * @author sepc_
 * @date 4/7/2021 15:20
 */
@Mapper
public interface AdministratorsMapper extends BaseMapper<Administrators> {

    /**
     * 根据用户名判断用户是否存在
     * @param username  用户名
     * @return 用户名是否存在
     */
    Boolean existByUsername(@Param("username")String username);


}